<%--
  Created by IntelliJ IDEA.
  User: 小柒的Java
  Date: 2021/4/28
  Time: 14:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/fileServlet" enctype="multipart/form-data" method="post">

    用户名:<input type="text" name="username"><br>
    上传图像:<input type="file" name="photo"><br>
    <input type="submit" value="上传">
</form>

</body>
</html>
